.modalContent {
  position: relative;
  padding-right: 340px;
  .preview-section {
    position: absolute;
    right: 0px;
    top: 0px;
  }
}